<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
   <%@include file="/view/resource.jsp" %>
  </head>
   <script type="text/javascript">
   <%
   String flag =(String)request.getAttribute("flag");
   if(flag != null && flag.equalsIgnoreCase("add")){
    %>
  	var flag=true;
    <%}else{ %>var flag=false;<%}%></script>
  <body class="easyui-layout">
   <input type="hidden" name="PjName" id="pjName" value="${mp['pjName']}">
  	 <input type="hidden" name="PctName" id="pctName" value="${mp['pctName']}">
  	 <input class="hidden" name="pjId" id="pjId" value='${pjgen.pjId}'>
  	 <input class="hidden" name="pctId" id="pctId" value='${pjgen.pctId}'>
 	 <input class="hidden" id='search_parentId' name="parentId">
     <!-- DataList  -->
	 <div region="center" border="false" >
     	<table id="data-list" ></table>
     </div>
     
	      <script>
		function gethpoNocashType(){
		$.ajax({
			url:"postypenocash.do",
			dataType:'json',
			data:{hpoId:document.getElementById("hpoId").value},
			success:function(result){
				var str=result.cash;
				document.getElementById("t3").value=str;
			}
		});
		}
		           </script>
    
     <!-- Edit Win&From -->
     <div id="edit-win" class="easyui-dialog" title="Edit Menu" data-options="closed:true,iconCls:'icon-save',modal:true"  style="width:500px;height:450px;">  
     	<form id="editForm" class="ui-form" method="post"> 
     	 <!-- 隐藏文本框 -->
     	 <input class="hidden" name="id">
     	 <input class="hidden" name="deleted">
     	 <input type="hidden" name="hdpId" class="hidden">
     	 <input type="hidden" name="hdpName" class="hidden">
     	 <input type="hidden" name="pgeJobs" class="hidden">
    	 <input class="hidden" name="parentId" id='edit_parentId'>
	            <div data-options="region:'north',split:true" style="height:185px;padding:10px">  
	               <div class="ftitle">详细</div>
		           <div class="fitem">  
		               <label>人员:</label> 
		               <input name="hrId" id="hrId" type="hidden">
		               <select id="hrcom" name="hrName" data-options="width:135"></select>
		           </div>
		           <div class="fitem">
		               <label>岗位:</label>
		               <span id="hposelect"></span>
		           </div> 
		           <div class="fitem">  
		               <label>项目系统系数:</label>  
		               <input class="easyui-validatebox" type="text" name="pgeScale" id="t1" data-options="required:true">
		           </div>  
		           <div class="fitem">  
		               <label>服务时间:</label>  
		               <input class="easyui-validatebox" type="text" name="pgeJobtime" id="t2" onkeyup="tmulti('t4','t1','t2','t3')" data-options="required:true">
		           </div>  
		           <div class="fitem">  
		               <label>非工资支出费用基数:</label>  
		               <input class="easyui-validatebox" type="text" name="pgeBasewage" id="t3" onblur="tmulti('t4','t1','t2','t3')" data-options="required:false">
		           </div>  
		           <div class="fitem">  
		               <label>非工资支付费用总数:</label>  
		               <input class="easyui-validatebox" type="text" name="pgeWagepayment" id="t4"  data-options="required:true">
		           </div>
	            </div>
     	</form>
  	 </div>
  <script type="text/javascript" src="<%=basePath%>/osjs/project/TostPjGeneraltable.js"></script>
  </body>
</html>